import Request from "@/utils/request";
import type {
    LoginReqInterface
} from "./types/login"

export const login = (data:LoginReqInterface) => {
    return Request({
        url:'/login',
        method: 'POST',
        data:data
    })
}